added size based span filtering