Speed up variant check