Speed: find prefix