remvoing scalar code from displacement function in ISPC