Preparing bounds calculation