Working bucket bit mask functions