L3 fix for checkpointing on L3 with different checkpoint sizes. Former-commit-id: ef45a01f6e12097189b1417de05e0f7d23f60a81