I do not understand this line (-> IM), but the `pos[i] -= correctValue;` is a nice solution!