improved slice and dice functions, and created a VC graph