adding compressed diagonal