rework inversion
simplify code
larger profile runs