Changing firstDimension* uses to lastDimension* uses. On the path to visual roles with discrete dimensions and a leaf continuous dimension.