array recursion too complex would not be longer thrown