Mr Tom, an afterthought refers to something (in this case, a part of a building) that was built later, not together with the house, and, besides, not carefully planned. The author of the sentence seeks to emphasize that s/he added that fragment of a house without thinking carefully about its design, intended use, etc. Respectfully, Gleb Chebrikoff
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.