adjusted Ctmp length