[SPARK-983][WIP] refactor code/spill sublists