Skipping of useless calculations