Shapes are represented by compact byte array, encoded by 'make_shape_2d_from_blend.py' in the tools repo.