ported most of the SZ2 code into the single projector project