Try multiple weighting functions to prevent jolting
Style open braces on new lines
Fix blob matching with lastPosition reference issue