A hybrid symplectic integrator that permits close encounters between massive bodies | Synapse