simulate the process of distribution process in a single machine