Migrate from main to divide function to get divided region of point cloud.
Changed file name.