improve strategy
add change_pi.rb
implement change_pi.rb