xcode build fix; scatter checks; early rejection energy