Optimizing cluster .contains by using a HashSet!