Move stash dimension constants into accessible class
Simplify image summarizer code