Some more work on the pair production part, also added float barrier