3d dict from 2d functional on toy data