updated stripblob algorithm