some optimisations for running with tokumx