Changed blob extract algorithm-- needs testing