Efficient balanced sampling: The cube method | Synapse