got rid of unnecesary coarse / fine discrimination switch statement and just have a variable with the orientation difference