Initialize strand lengths on startup