length to constant