I left this because my attempts to use `IOBuffer` didn't took more memory and were a bit slower.