Array Bound Cannot Be Deduced