Removed use of predefined array size for performance on big tables