first attempt at ps1_minify