Sync script for V's serpent impl.
Synced with V's serpent.