modified collision checking.
Updated linux build.