handle resizing sorta properly, finding starting 0's in a better way, using tighter ones template which helps with earlier issues