Take a const ref when building an iterator from coordinates
Correctly construct YGrids

Until now, the implementation on this was a stub that only
treated the first entry. Now all iterators are initialized.