Engineering marvel in ancient Sri Lanka