finished first heuristic pattern