Eliminate the loop when encoding the split angle.