Modified the divide value to make it more accurate