initialise chunk shape