implemented avoid collision in shuffle_conformation method