Random packings of spheres and spherocylinders simulated by mechanical contraction | Synapse