Truncation of the shell model vector space