add non-recursion permutation