adding in vertex-compression