Start on more efficient tesselation algorithm (thanks Hugh)