sidestep JS callstack limits to support ever-larger sets of BAM features