Fixes to deterministic glb