New color mean computation, should be faster
Explicit queue size of 1, made parameter reference global