added more checks to split army