FIX : don't split array in more splits than its length