Add condition to prevent invalid reading for cid of neighbor
Fix typo
Implement the cluster-based peer selection
Testing cluster-based peer selection