Code dump of BiliSampler