wandering block method