Add O(1) max support to stack