Going from memory, the B40 frame is fitted with two round topped triangular shaped lugs on which the centre stand pivots. The inside half of the lugs is machined so that, above the top of the centre stand mounting arms, the machined parts of the frame lugs provide shallow V-shaped cut-outs. It is these cut-out shapes that limits the travel of the centre stand in both directions.
However, over time, both the V-shaped cut-outs and the triangular top of the centre stand legs will wear from the stand snapping open and closed and therefore the amount of travel will gradually increase. Even with a bare frame, I think it would be very difficult to repair the frame lugs. A replacement centre stand might cure the problem but this will depend on how much the frame lugs are worn. The alternative, as suggested, is to change the shape of the front part of the triangular tops on the centre stand by welding on some metal - a relatively easy job for a welder!