Use 1 array with double the size instead of 2 arrays with normal size