Bounding attribute setting to 7 <= x <= 18