Attempt to reduce memory overhead in csv parsing