Simple MVT bucketing code