Improved assignement of tiem to metrics