s3-dceprc: Use IDL defined constants for length calculations