The first and last gap are different from other gaps (which our test image doesn't catch because it only has 2 gaps in each direction...) 