optimized most egregious contributor to module slowness