Now finally works. Able to find the largest particle and react accordingly