Bucket Solver