Make variable local for multithread evaluation. #115