finish implementing splitFills (with tests).