[Core] optimized key_point size threshold