Change the shade algo to generate 0-16