added box constrainer prototype