Misc fixes, meta-compression postprocessing
Added fast optimal piecewise compression