first index of min element: performance better with {x?&/x} then old imin function