better buffer checking
Merge pull request #56 from mapbox/async-better-buffer-check

better buffer checking