It is a common problem. The reason is the way the floor is nailed. When nailing in the "middle" section, the "nails" (fasteners) are not always placed in exactly the same spot along the boards length. However, at the ends, one is always nailing in the same location. This eventually causes the rows to slightly pull in at the ends. Try this: Keep the field (middle) tight and well nailed. As you progress toward the ends, allow the boards to gap slightly. You can accomplish this by placing putty knifes between each row at or near the ends. You can use playing cards, doubled up, or even washers, if you need to go that wide. Use a straight edge to check how this is working for you. The idea is to slightly gap the ends until you are straight again. Got it?