Use bitmask in SMUtils