Added inline function to get gridStep by index.