questionably refactor zlevel comp

Created by  Bowei Liu  on December 26, 2020
PWXZFCENNLWYEKNPRXSV3FC7VSARURBC6JECKGJCCZC6YP3PN2DQC
Change contents