make gen weight histogram