stop if cluster bigger than 500