This is because mass, length and time are independent of each other. All the other quantities in mechanics can be expressed in terms of mass, length and time.