Optimizing collision