modify IB_IN_MAX from 64 to 512