this does the maths properly, so we'e going from O(n³) to O(1) :D //subdivide should get started *so much faster* now :D