Add FINEST debugging and fix #153

This PR fixed #153 and adds bit more debugging. Actual fix is on L:223.