optimized BoardParser again (and again ;))

added some side note
added precalculation of frequently used arithmetics
formatted layout