added max clearance cost