Use std::transform in the mixers instead of loops