check that there are no particles to sample when optimizing floppy bodies