Packing spheres with quasi-containment conditions | Synapse