attempt at merging formats for labelRect and filterRects