up to symmetrical matrix