compressed matrix