Fixed bug in Cubic2, it no longer creates memory error
Also made it WAAY faster