added bound calc