change reference to Mm to 1D vector addresses