Toward robust and efficient 3D reconstruction