JAL-2629 fix issue where HMM sequences would be too long