Some preparation for using pre-calculated resistance