At some point all measurement systems come from regulation. After all, that's one of the roles of a functioning state: provide a stable base for ownership (requires measuring surfaces, for land and buildings) and trade (requires measuring a ton of things, weight, length, surface, density, etc).