Return type of heurisitic now int.