simple chunk optimization, also makes the minimum chunks to go below 6
First version, just rendering at the moment.