refactored draw chunk alignment