Added random offset to special building code