Optimized simple stack constance.