Dynamically allocating memory for traders and warships arrays in seas.