Fixed alignment calculation in function splitter