small formation issue and tiny javadoc update: added exception reason
for middle snake calculation