Collimation of electrons via three-dimensional spatial intensity shaping of laser focal volume