Red Tree 5 (Optimized)