not setting value to nearest step