Initialize sizes of message, hash and list objects to 0