New revision of patch with two fixes:1) Check if histogram bin width is zero in get_position.2) Check statsTuple is valid tuple in rangecontsel.
------With best regards,Alexander Korotkov.