FIX: geometric sum test
quadratic equation
distinct queue