refactor SliceArray to impl package