Adapting boxing to polydispersity.

Also reorganized a bit the init of simulation.