mkdirs & add some new 5-min algorithms