add closed boolean to bounds