https://github.com/jwent/fbsampler/commit/92f3ed9f4459b5b44234d5834de580b8a85f0401