Typescript Split Array Into Two Equal Sections Of A Cone