impl move pre-encode