remove the clz function, use fls instead