Fix threading and streamline simulation a bit.
Fix non-zero value to a bit smaller one.