Commit more changes to get the accelerated contour found by the client side.
Now cache the sub grid values instead of computing them each time.