caching for ActionChain
even 64-bit floating point has its problems

fixed a BIG bug with resizing in some cases