To fix first pep8 adaptation
simplify lenght lattices expression