Hi Hossein,
assuming that you want a 2D spatial model across the space as a whole, and not a road-network restricted model, I would suggest one of these two approaches:
1. Use the crash locations as location input to inla.mesh.2d, specify "cutoff" to identify the desired resolution near the roads, and use a larger max.edge value for how densely to fill in the gaps.
2. Use inla.nonconvex.hull on the crash locations to create a "buffer zone" around the crashes/roads and use that as the inner boundary for the mesh, and specify max.edge to control the triangle size inside that subdomain and the domain outside.
Finn