Procrustean bed.
Procrust was a thug in Ancient Greek tales, he made travellers laid down on his bed, and if they were longer than bad procrust cut their legs off. If travellers were shorter then Procrust stretch them out. The figurative sense of the phrase "прокрустово ложе" means to place useless limitation on something.