stack with max record