allocation/spiral: add function to update boundaries.
Move update_boundaries to board.