Fixes VMR creating off-by-one