Fix typo resulting in a crash on some systems

See http://www.cplusplus.com/reference/vector/vector/reserve/ for reference

Thanks to Grz3s for providing the crash-log