Gray water algorithm | ScratchStats