return bit-masks as integers