Growth of legislation in ancient Mesopotamia