added drop_restriction to PrimBox

to be tested under windows….