stop if cluster bigger than 500 . good code