changed so stack limit is set to hard limit of OS