Created boundaries for horizontal and vertical tiles