loop unrolling, maks code 10x faster