double squares acually working now, tweaked search to be faster