Stops cycle on last word array element