fix the memory block splitting issue