downsample head images, see #78