Some Probabilistic Problems of Beam and Frame Optimization Under Longevity Constraint