Red Tree 12 (Optimized)