Optimize code a bit by calling push_back only once in some loops. Reduces compiled...