use bitset when locking, avoid manual index & mask calculation update check() to use boolean logic instead of returning int status remove wip address-range, just use the {begin, end} pair uint8_t instead of unsigned char when dealing with data