Form calculations process is taking longer than necessary