Removing duplicate verticallabel.cpp from Makefile.am
Adding constants in place of raw numbers
Adding early exits from for loops