A Variant of Anderson Mixing with Minimal Memory Size