implement bit partitioning in get