Estimating the 3D fold structure of the crust-mantel boundary