Missed wg.Done() and wg.Wait() calls in deriveMixed