improved speed of seeded region growing