Drive map read and write reversed

If you watch the drive map while it is defragging, the colours indicating read and write seem to be swapped.

eg. a block will go yellow for a time and another will go green, but then when it's done with that operation the block that was green will show is empty and the one that was yellow will show as full (or maybe partially full if it was empty before)

is what you are noticing not just the fact that a block on the map may actually contain many, many files and what you are seeing is the colour change based on the file level, not the block level?

and the fact that what is represented as a block is being changed as the defrag progresses.