refactored sequence histogram to new module