Some optimizing and fixing on chunk geometry