Oscillatory integrals on unit square along surfaces