Manual has incorrect populateInitial API
It still uses the old API that took number of initial elements instead of CkArrayOptions. Furthermore, the manual has nothing about respecting array bounds, which may currently cause issues in the code. A bit more investigation needed. The example as given would currently break if care wasn't taken to make sure everything was still in bounds.