Changed the heruistic