Added heap file for prim