func scaleVec(vec, oldWindow, newWindow *coords.Vec) *coords.Vec { return vec.TimesVec(newWindow).DividedByVec(oldWindow) }