Refactor/global box size
this mr makes the parameters of generating a box global, so that functions that depend on the size of a box share the same parameter.
this mr makes the parameters of generating a box global, so that functions that depend on the size of a box share the same parameter.