fix when a task is accepted.
Revert "remove ide files"

This reverts commit 319fafdf9a4bc844682fc37eb1b82c8c15aba17c.
Update so that <= is the check for valid memory