compute gram set to false explicitly