optimized crossfade