Poisson-based algorithm for stable inference of DNA Structure