tweak prob002 (super fast in Ruby 2.x)