How take make a task which fills the gap between another two task, and is automatically adjustable