Added weight procedure

sort frames by contribution to a blank slate and consider them in that
order