use indexed get in constprop