Problem of plenty: Prepay or invest?