Does someone know how to remove the space between the last line and the fraction line when using \splifrc in the following code?
\documentclass[12pt,a4paper]{scrartcl}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{mathtools}
\begin{document}
$\frac{\left( \splitfrac{\splitfrac{\splitfrac{-t^{2n+2}+t^2+1-t^{2n}(nt^2-
n-1)^2+t^{4n+4}}{-t^{2n+4}-t^{2n+2} +t^{4n+2}(nt^2-n-1)^2-n^2t^{4n+2}}}
{+2n^2t^{4n+4} -n^2t^{4n+4} +2nt^{2n+2} + 2t^{2n+2}}}{-2nt^{4n+2}-
t^{4n+2}-2nt^{2n+4}+2nt^2-t^2 } \right)^{\frac{1}{2}}}{(t^2-1)^2}$
\end{document}