Made atomSplit smarter