Analysis of different evolutionary strategies to prevent protein aggregation