Improved split between encoding and sending