Make sure the edges line up