MAX_THREADS -> 200 and assert

Change-Id: Id350fe18a6301e89b770764cd66683426212923c