simpler large stack detection