Change max_used_bit from global variable to cmp_cfg field
changed the description
mentioned in commit 151a13ed
merged