Branch into 9 cases
Case 1-4 done