Adding sqrt index