adjusted data length