fixed seq with bottom in the first position. added tests.