Better fix for ForceContainer-size-change

Added thread-safe _maxId variable into the ForceContainer,
which should get an information about maximal added
Body id.

Previous fix could be dangerous, if a body added
when a ForceContainer is synced.