Selecting Consecutive Terms in GP