Fix cell_span in a more pythonic way ;)