improved chunk data structure