A simple Monte Carlo optimizer using adaptive coordinate