Quad Tree for Z sorting added