puts all moves in appropriate boundaries