Add the build distance in the class attributes