ceiling the metric values and more debug statements