Fixed generation of polygon shapes
Horizontal lines of blocks now cluster into one shape

This isn't working properly yet.