On topology optimization with embedded boundary resolution and smoothing