ok now sum support for bilateral and percentile as well,