rework indices to allow marking i,as and bs as both input and output (marked operand n1 as well for simplicity). For #2009