Refactored BucktoToBuffer gadget to make it easier to understand