Enhanced 3D reconstruction with all-neighbor-first philosophy and Ricci flow-based mesh smoothing approach