fixed bug in cluster splitting, added node deletion