try harder to detect lrint