more polygon merging algorithms --David Caratelli