Factor out division by squares and remove division around comparisons (0/2)