APS algorithm modified for high-dimensional, high-degeneracy parameter spaces