Added labels, fixed bug where buckets with 0 length broke stuff