debug checkForBankrupt method... do not splice an array during for()