[Andrei] partial truncate implementation