def stringSizeToInt(stringSize):
    """
    Convert suffixes like Mbp Kpb to the int
    """
    suffixes = {'G': 1000000000, 'M': 1000000, 'K': 1000}
    if stringSize[-1] in suffixes:
        return int(stringSize[:-1]) * suffixes[stringSize[-1]]
    else:
        return int(stringSize)