Cleaned up the FourIndex object: only one memory allocation required now.