It is now an error to ask for more surrogate variables than actually available. Thanks to Henric Nilsson.