Calculating X-ray absorption near-edge structure at very low energy.