MAINT: coord_dims speedup

This commit offers to speedup the comparison of supplied coordinate with
that on the cube by way of checking if its the same object, then
comparing by way of metadata if object not found.