Simpler is sometimes better. Fixes some crashes & memory corruptions happening because of all those broken loops.