Basic implementation that shows pathological oscillation.