more tweaks on ksvd