@rushamania Given your specific mention about losing form and focus as you tire, it might be worth exploring a few aspects:
Pacing: Sometimes, starting a tad slower than your 500m/1000m pace in the longer sessions can help maintain energy and form throughout the entirety.
Technique Refinement...