adding compressed index