use CompositesWithBounds with threshold