Implement calculations for MODE_BOTTOM_RIGHT