"nice"-ing algorithm is fixed