Improved sturm method; cleanup