Added flatchain property to ptsampler.