minor tweaks in algorithm extensions