simplify microoptimization without changing its current behavior