fixed some bugs in RotamerPacker