Cluster fixed with layer extent

#92
Merge pull request #150 from tomchadwin/master

Cluster fixed with layer extent