fix issue where square grid would bisect one orientation with different orientation coordinate