Removes the recursive function to avoid memory increase
Review default options