Bounded x_beg and x_end inside box