extending filter by shape