measurements

Trying to figure out what sise railings to order. This pool is at least 20 years old. I dont know the name. The corners of tghe railongs are NOT 90 degree angles. The edge inside the pool is shorter than the edge outside the pool. The screw openings are about 2 1/2 inches apart and the railing is 6 inches wide. Inside measurment is about 53 10/16 ans outside edge is about 56 5/15. The center length is about 55 1/8. So what measurement do i go for. The railing caps cover all of this up when on. You can see the outline of the cap in the second picture.

more pics