calculated label positions