generate a non zero number of beans when the size is not specified