Algorithm Tweaks