added a test for unit range that is lower than the total amount of grid tiles