such a big error (`2`) in `resize` will break many algorithms accuracy!