Add index generation for Quadratic & Cubic cases