add support for scale0, which is not necessarily 1