On the reconstruction and sampling of random fields based on information from limited-size marginals