Using a barrier to control bamboo