wrap with _(fn, idx) to speed up fibers fast mode