grid length