use enum set instead of bitmasks in Directions