I know it is a bad algo, who cares runs under a min