Optimized level constructor