working version of 3D reconstruct