Added blob analysis to new algorithm