Optimization of A Computer Simulation Model for Packing of