Solved first run issue by accepting that sw stack will be invalid for the first thread to execute