fix: should destroy bitvec data before return to caller.
fix: should initialize range[] values before use.
fix: should not reassigning a value to a tll variable.