Fit dict

cc @licode