split algorithm and problem; minor fixes