Splitting algorithm complete. Working on viz