add RecyclingSolver argument to newton()