debugging prims time!