fix lbp dimension