change definition of BorderSize enum