fixed bwm register
updates to texture classification