work both ends against the middle