Changepoint detection in case of step change and inhomogeneous segments (platform-like inhomogeneities)