using max between two of the xfer sizes to determine memory size