fence length conversion