Added guard against too big Array