force intermediate variable in two_split to fix computation on MSVC