does inheritance affect benefits