Prim Assignment