minified version of easyAlgo