Small optimization to P78