103

1. Order input dimension number from smallest to largest. 'Input'
2. Order box from smallest to largest. See the IsSmaller method in
detail. 'GetOrderedRec'
3. Take a memory search to get the max legal count. 'GetMaxNode'