Allowed optimization of restricted element placement

Allowed optimization of restricted element placement

Implemented the placement of restricted elements. Turned off spreadout
events.

****bug *****
-Spreadout function is disabled because of bug with stitchun restricted.
***hint***
Update ObtainBetterEarlierReferenceTime to get some elements from
restricted elements.
Allowed optimization of restricted element placement

Implemented the placement of restricted elements. Turned off spreadout events.

****bug *****
-Spreadout function is disabled because of bug with stitchun restricted.
***hint***
Update ObtainBetterEarlierReferenceTime to get some elements from restricted elements.