Fix #warnings taking exponential time to compute

*sigh*
ohhh, I can't read, will update