this should prevent the index out of range error that can happen when warping at 100000x