Updated Heuristic with piece placing