final changes to the new algorithm
updated changelog