Make sure logl(constants) are only done once