handle non-vanilla dimensions