displacement averaging inserted