Improving robustness of 3D reconstruction for sparse captures and challenging environments