Optimized Graha class