Fix compilation.
Fix bug with array size.