Maybe I'm misreading the code (it's late here), but will this work if the outermost Add contains something that can combine with the outermost sqrt?