[guidance_h_ref] turn some defines into static const