polished 1st iteration basic array-splitter