Some optimizations. Started collision handler