updated bounds fitting