fix to make the maximum tile size really the maximum size, was actually minimum size before