Fast XANES perturbation schemes