ensure pubkeys length greater than m