Spatial Partitioning And Functional Shape Matched Deformation Algorithm For Interactive Haptic Modeling