avoid the trees overlap the game