Optimal Allocation Of Resources In Reliability Growth