Fixed array size miscalculation