add heuristic to starmap