made mask_lower work with any number of bits