Minor performance fix for ssa/ass