FIX: wrong resizing of std::vector, reserve -> resize
FIX: wrong resizing of std::vector, reserve -> resize

See http://www.cplusplus.com/reference/vector/vector/reserve/:
"This function has no effect on the vector size and cannot alter its
elements."

SimonRit/RTK,SimonRit/RTK,SimonRit/RTK,SimonRit/RTK