This assignment is the same for top, bottom and middle. Might as well cache it.