Restyling of matrix_constrained