work in progress: implementing splitting
TODO: update the correlograms after merging or splitting