add bounds computation for outlines