Refactored
Added MaxSpan, Return 34