In fact, as building techniques advanced, pyramids evolved greatly over time. Pyramids trace their DNA to the tombs of early pharaohs. Those tombs are called mastabas. The word means “eternal home.” Mastabas are low, flat topped rectangles with outwardly sloping sides.