vector -> stack, changed numMeasurementValues