Divide-and-conquer: First attempt of template division.