increase matrix width to 6