finish temporal/src/est-rel-ent-dist.py