How can I use ray tracing result memory efficiently? (bit unit)

Thanks for the detailed answer.