Bucket size duration (BSD) is the duration till a logical channel buffer the upper layer data based on PBR (Prioritized Bit Rate) of logical channel. Total buffer capacity is calculated based on PBR * BSD. Variable Bj is used to avoid starvation because of prioritized logical channel.
Each time when UE MAC receives uplink grant to send data, it collects the data based on priorities of each logical channels while considering the value of associated variable Bj. If value of Bj is greater than zero then higher priority LCID can send data and reduce the value of Bj accordingly. If value of Bj is negative for higher priority LCID then data for other lower priority LCIDs would be scheduled.