Finished best fit. Added swap counts.