fix compiler error for Mac
add autogenerated polydispersity loops