Making lots of progress on package management algorithm.