Modify overlength  matching.

Signed-off-by: darkestkhan <darkestkhan@gmail.com>