wal: cut(i uint64) -> cut

/cc @philips @jonboulle @unihorn 
set it to `-1` can help to protect nothing as far as i can see...