heuristic based on bfdrwa