@msbarry mentioned that this adds 20MB and is only used for run-length encoding. Investigate if we can get rid of it.