2particles case is giving correct results