set recursion limit