tail: added size suffixes handling

Rust beginner here, any comments welcome.
Can you change `size_slice.len()-1` to`size_slice.len() - 1`?