Fixing cracking problem with quadtree deformation