Speed up similar check