Convert to array: should give better performance with get by index