Use proper stack sizes