Add divide and conquer version to f1