fixed StackOverflow with large number of files in a jar