A building should be regarded as a residential building when more than half of the floor area is used for dwelling purposes.