Use List<string> instead of ArrayList in GetMsgBySize, tested