added board.shift and board.shrink