Added comments and some stuff to checkSplittable