Reconstruction of geological microstructures