Stats: move stack histogram method into StackStats