Removing wandering period.