add unit tests for regular spacing and make feature layer to regular spacing module