Merged area flags when adding spans
Cleaned up CompactHeightfield and Contour