Each phase is now O(s). Added explanatory...
... comments.