The Great Pyramid also calculates the Earth’s circumference and is only off by feet - done almost 3000 years before the Greeks.
This--and other unexplained things--are the reasons why I think there must have been advanced civilizations before Egypt flowered, ca. 3000 B.C., the most obvious traces of which the earth has long since devoured.