use Length instead of Int for length units