FIX prevent multiple inclusion error
ADD corner orientation
ADD Corner pruning for both orintation and permutation