now you can specify max number of cast members