[wip] EGSZ2a many bug fixes: adaptive algorithm runs through and needs testing now!