Fix constant bitlength computation.