added soft and hard stack limits