commited new heuristics
fixed slight error
fixed slight error