Fixed bug in StackSize decider.
Added MaxTasksWithStackSize.