a new version of algorithm (full of hard coded values and stuff), but the results are fantastic