fixed some bugs in RotamerPacker but still checking