algorithm experiments
more algorithm tweaks