The Usage of the Grid in the Simulation of the Comet Oort-Cloud Formation