adjust boundary