Prescription of a finite part of the Laplace spectrum under geometric constraints