bit slow and textures are incorrect in some orientation

need to take spacing into account